import { createApp } from 'vue'
import App from './App.vue'
import 'normalize.css'
import '@/assets/styles/common.less'
import router from '@/router'
import { createPinia } from 'pinia'

import MyUi from './components'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'


const app = createApp(App)


app.use(MyUi)
app.use(router)
app.use(createPinia().use(piniaPluginPersistedstate))
app.mount('#app')

// createApp(App).use(router).use(createPinia()).mount('#app')
